5.3.3 APPX Application Design Manual

+ Chapter 1-1: Overview of Application Design
+ Chapter 1-2: Getting Started
+ Chapter 1-3: Data Dictionary
+ Chapter 1-4: Understanding Process Design
+ Chapter 1-5: Interprocess Communication
+ Chapter 1-6: Customizing Your Application
+ Chapter 1-7: The Documentation Facility
+ Chapter 1-8: Application Design Tools
+ Chapter 2-1: Data Dictionary Overview
+ Chapter 2-2: Data Dictionary Concepts
+ Chapter 2-3: Domains
+ Chapter 2-4: Files and Fields
+ Chapter 2-5: Work Fields
+ Chapter 3-1: Overview of APPX Processes
+ Chapter 3-2: Getting Started
+ Chapter 3-3: Process Definition
+ Chapter 3-4: Menu Processes
+ Chapter 3-5: Job Processes
+ Chapter 3-6: Input Processes
+ Chapter 3-7: Output Processes
+ Chapter 3-8: Update Processes
- Chapter 3-9: Query Processes
+ Chapter 3-10: Inquiry Processes
+ Chapter 3-11: Status Processes
+ Chapter 3-12: Subroutine Processes
+ Chapter 3-13: Table Processes
+ Chapter 3-14: Automatic and Optional Children
+ Chapter 3-15: Using the Image Editor
+ Chapter 3-16: Using GUI Features of the Image Editor
+ Chapter 3-17: Using Event Points
+ Chapter 4-1: ILF Integration
+ Chapter 4-2: True/False Status Indicators
+ Chapter 4-3: Specifying Statements
+ Chapter 4-4: The ILF Editor
+ Chapter 4-5: The Appx ILF Debugger
+ Chapter 4-6: ILF Keyword Reference
+ Chapter 4-7: Predefined Fields
+ Chapter 4-8: Runtime Subroutine's and Predefined Processes
+ Chapter 4-9: Appx Chart Director API

Chapter 3-9: Query Processes

Sort Order Option


The Sort Order option provides quick access to the query process Sort Order overlay, shown below. The Sort Order overlay also displays if you select Enter, and then End from the Query Processes screen. Sort order specifications determine the order in which records are presented. You can establish a virtually unlimited number of sort items, with a maximum of 255 active at any one time. Active sort items display first by sequence number order, in their order of precedence. Non-active sort items can be activated by a user during query setup. Sort fields that are identified on the Sort Order overlay are related to range fields in Start of Range and End of Range frames in output, inquiry, and update processes.

Query Processes Sort Order Overlay

The query Sort Order overlay contains the following fields.

Seq No defines the field's position within the sort order that is used to generate the report.

App/Field Name/Occ identifies a specific field on which to sort. This field must be maintained in the PCF or made available with statements.

Range-Start/Subheading allows you to choose whether or not to execute any Range-Start frames in a subsequent output or update process, for example, to print a subheading. The Range-Start/Subheading options are:

NO. Any Range-Start frame should be ignored.

STANDARD. A Range-Start frame will execute immediately after the previous Record or Range-Start frame.

NEW PAGE. The report will skip to a new page before printing this Range-Start frame.

NEW PAGE WITH MSG. The report will skip to a new page before printing this Range-Start frame, and will append a continuation message to it.

The default is NO.

Rng-End/SubTotal indicates whether or not to execute the End of Range frames, if any, for this sort field. The Range-End/SubTotal options are:

NO. Any Range-End frame should be ignored.

STANDARD. A Range-End frame will execute immediately after the previous Record or Range-End frame.

NEW PAGE. The report will skip to a new page before printing this Range-End frame.

The default is NO.

Lst Lvl? A 'yes' in this checkbox designates the last field in the sort order. This may not necessarily be the last field defined since not all fields may be included in the sort. The default is 'no' .

Sort Order determines whether values are sorted in ascending (from lowest to highest value in the sort field), or descending (from highest to lowest value in the sort field) order. The default is + (ascending).

T and AA are indicators that are present whenever documentation (T) or additional attributes (AA) have been defined for this process.

The following two options are available on the query Sort Order overlay:

Additional Attributes Option

The Sort Order Additional Attributes overlay contains the following fields:

Sort on This Field Required? Select 'yes' or 'no' to control whether or not this field is required for sorting. The designer may force a user to sort on this field by selecting 'yes'. A user running the query may change the sort order, but a sort on this field is required. The default is 'no'

Subheading NO Edit? allows you to specify whether a user can modify the subheading when the query is run. The default is .

Subtotal NO Edit? allows you to specify whether a user can modify the subtotal when the query is run. The default is

Sort Order + Edit? allows you to specify whether a user can modify the sort order when the query is run. The default is .

Application Design Manual                                         "Powered by Appx Software"

1104

©2006 By APPX Software, Inc. All Rights Reserved